
const {ccclass, property} = cc._decorator;

@ccclass
export default class MainScene extends cc.Component {

    onLoad(){
        let physicsManager: cc.PhysicsManager = cc.director.getPhysicsManager();
        physicsManager.enabled = true;
        physicsManager.gravity = cc.v2(0, 0);
    }

}
